<template>
  <div>
    <van-nav-bar title='支付成功' :fixed=true left-arrow @click-left="onClickLeft" />
    <div class="font"><van-icon name="wechat" /></div>
    <van-button round v-tap="{methods:btn}"  type="danger">返回首页</van-button>
  </div>
</template>

<script>
  export default{
    name:'Paysucces',
    data(){
      return{

      }
    },
    methods:{
      onClickLeft() {
      	this.$router.push('/home')
      },
      btn(){
        this.$router.push('/home')
      }
    },
  }
</script>

<style scoped="">
  .van-icon-arrow-left{
    color: #bfbfbf;
    font-size: 24px;
  }
  .van-nav-bar__title{
    font-size: 20px;
  }
  .font{
    text-align: center;
  }
  .van-icon-wechat{
    font-size: 160px;
    color:#FF0036;
  }
  .van-button--round{
    margin-left: 134px;
    margin-top: 20px;
    background: #ccc;
    border-color: #ccc;
  }
</style>
